I haven't written a blog for a long time. With this limited spare time, I will write my thoughts on the zpl technology I have recently studied.
Because the project needs to print the barcode, the company bought a zebra gt800 barcode printer, the first contact to print, really a little overwhelmed. step by step, I first studied the Java printing service and thought it was still useful. then I tried to print
C #-use the ZPL language to generate and print the bar code,Zookeeper
Recently, due to the needs of the company's projects, I have studied a new technology-bar code generation and printing. I have never touched on this knowledge before, so I am confused and excited at the beginning, but the problem will always be solved step by step. Now let's sum up the harvest of bar code.
There is no difficulty in generating a bar code, that is, using some string
Recently, due to the needs of the company project, I studied a new technology for me-barcode generation and printing. Since no prior contact with this knowledge, so just started a little confused and small excitement, just step by step, the problem will always be solved. Now to sum up to do the bar code this piece of harvest.
The production of bar code is not difficult, is to use some string processing functions to generate a string of letters or numbers of the combination. This is mainly about
rows, but you must first subtract the margin and then add the margin. // 5 is the margin var image = new Bitmap (txt. preferredsize. width, (txt. preferredsize. height-5) * TXT. lines. length + 5); var G = graphics. fromimage (image); var B = new system. drawing. drawing2d. lineargradientbrush (New rectangle (0, 0, image. width, image. height), color. black, color. black, 1.2f, true); G. clear (system. drawing. color. white); G. drawstring (data, F, B, 1, 1); Return image ;}
Input the Chinese
This example describes the ZPL barcode printing class implemented by C #. Share to everyone for your reference, specific as follows:
Using System;
Using System.Collections.Generic;
Using System.Linq;
Using System.Text;
Using System.IO;
Using System.Diagnostics;
Using System.Drawing;
Using System.Drawing.Drawing2D;
Using System.Runtime.InteropServices; namespace Zebra {///
Read more about C # Interested readers can view the site topics: "C # P
analyzes the data received and automatically determines the best compression method to choose. ^FD can use all ASCII characters. The printer determines whether a subset is changed. Four and more numbers will automatically change to a subset of C.
//set QR code data matrix format^fo485,8^bxn,6,200^fdz2007203419,1100705042001,zs565-110-001-1,abcd1234^fs^bx Data Matrix BarcodeDescription The ^BX command can create a two-dimensional matrix symbo
Printer Driver conflict and port exception: after some patches are updated in win10, the printer can be printed locally (the host connected to the printer), and computers in other shared networks can be connected to the printer, but cannot print-solution,
I. Problem description:
1. A (WIN10 System) indicates the comput
Desktop-grade 3D printer, as the name implies is small, can be placed on the desk to print three-dimensional physical printer. Desktop 3D Printer It is a kind of rapid prototyping technology, it is based on digital model files, the use of powder-like metal or plastic, such as adhesive materials, by layer-by-level printing method to construct the technology of the
I have been logging onto the blog for a long time. I have just been in the development field for a year. I don't know what to write on my blog. Now I want to share some of my work experience with bar code printers.CodeI hope to give some help to scholars. I have a limited level and cannot write much. The specific code is as follows:
// Enable the serial port of the printer.
Internal class barcodeprinter{
// PortPrivate string filename;
Public
Details:
The printer is configured according to the process. Both machines share a printer. The printer on the host can be used as a normal printer. If another machine wants to share its previous printer, an error message always pops up saying "Windows cannot connect to the
// Code: // using system; using system. collections. generic; using system. text; using system. runtime. interopservices; namespace lptcontrols {public class lptcontrols {[structlayout (layoutkind. sequential)] private struct overlapped {int internal; int internalhigh; int offset; int offsethigh; int hevent;} [dllimport ("kernel32.dll")] Private Static extern int createfile (string lpfilename, uint dwdesiredacces S, int dwsharemode, int lpsecurityattributes, int dwcreationdisposition, int second
Mac installs the local printer network printer Windows printer. The small weave uses 3 printer canon LBP2900, HP LaserJet P1008, HP LaserJet Professional to test.
Verifying printers
1, not all types of printers can be used on the Mac, you can see on the Apple website whether your
This is a common problem at work. The printer purchased by the company does not have the network printing function, but wants to allow all staff in the office to share the printer. Setting the printer to share can solve this problem well. Next, let the editor teach you how to set up printer sharing.Windows
Xp printer sharing settings tutorial, xp printer sharing tutorial
Enterprises cannot do without networks or computers and printers. Generally, a company only has one or two printers. It is impossible for every computer to have a printer installed. This will make printing inconvenient, if you want to print a document without a
How does LAN Printer sharing work? How do I set up printer sharing?
To achieve two printers or multiple printer sharing, first of all to understand how to set up and share a local area network printer computer printer, after the need to solve the LAN on the other computers
What is a stylus printer?
The printing principle of the stylus printer is to print a small dot on the print medium by printing a mechanical impact on the ribbon, which eventually makes up the desired object to be printed. The number of printed needles is the number of pins on the print head of the pointer printer. The number of printed needles directly determine
First, verify that the printer is properly installed
Local printers are not available, first from the easy and difficult order to determine. Verify that the printer is installed correctly by the machine.Let's start with a brief WIN7 the installation steps for the printer.Open the device and printer options below the Start menu;
After opening the screen;
Click
Configuring printer Ports
Follow the steps below to configure the printer port. Depending on your selections, different printing speeds will vary.
For Windows 7: Click Start, and then select devices and Printers.
For Windows Vista: Click the Start button, Control Panel, and then the printer.For Windows XP: Click Start, and then select Printers and Faxes.Right-click the target device, then the
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.